package com.yazi.mxz.admin.controller;

import javax.annotation.Resource;

import com.yazi.mxz.common.controller.BaseController;
import com.yazi.mxz.common.service.GoodsService;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;


@Controller("indexController")
@RequestMapping("")
public class IndexController extends BaseController {

	@Resource
	GoodsService goodsService;
	
	@RequestMapping
	public String login(){
		return "index";
	}
	
	@RequestMapping("/top")
	public String top(){
		return "top";
	}
	

	@RequestMapping("/left/goods")
	public String leftGoods(){
		return "left_goods";
	}
	
	@RequestMapping("/left/content")
	public String leftContent(){
		return "left_content";
	}
	@RequestMapping("/left/base")
	public String leftBase(){
		return "left_base";
	}
	
	@RequestMapping("/main/goods")
	public String mainGoods(){
		return "main_goods";
	}
	
	@RequestMapping("/main/content")
	public String mainContent(){
		return "main_content";
	}
	
	@RequestMapping("/main/base")
	public String mainBase(){
		return "main_base";
	}
	
	
}
